package cn.com.my.six;

import java.util.HashMap;
import java.util.Map;

public class ABC<T> {
	
	public ABC (T t){
        System.out.println(t.getClass());//获取类的信息.
    }
	
	public static void main(String[] args) {
		new ABC(new D());
		
		Map<Long, String> map = new HashMap<Long, String>();
		map.put(-1L, "A");
		map.put(-2L, "B");
		map.put(-3L, "C");
		
		System.out.println(map.get(-1L));
		
	}

}
